<<<(main)
#include "$(lower_base_name)_c_serve.h"
#include "xdl/c_api/$(lower_base_name)_c_serve_base.cpp"

McServe_$(service_name)_c_Impl* gpServe_$(service_name)_c_impl = NULL;
McServe_$(service_name)_c* gpServe_$(service_name)_c = NULL;

void McServe_$(service_name)_c_Impl::main_self_disp_unit_appear(long module_id)
{
	gpServe_$(service_name)_c->set_serve_info(g_instance_info);
	gpServe_$(service_name)_c->set_serve_statu(true);
}
void McServe_$(service_name)_c_Impl::main_self_disp_unit_disappear()
{
	gpServe_$(service_name)_c->set_serve_statu(false);
}

>>>